package com.fick.hibernate.dao;

import java.util.List;
import org.hibernate.Query;

public class FlowDAO extends BaseHibernateDAO {

	public List findall() {
		try {
			Query query = getSession().createQuery("from Flow");
			List li = query.list();
			return li;
		} catch (RuntimeException e) {
			e.printStackTrace();
			return null;
		}
	}
}
